By taking advantage of facile preparation and sensitive recognition capacity, the first example of a fluorescence system based on Eu(III) functionalized UiO(bpdc) (UMOFs) has been constructed for effective combination of ions recognition and logic computing. All the ions, including Hg 2+ , Ag + , and S 2− in the system are water harmful, which can be recognized through affecting energy transfer or framework structure. By the self-assembling, competing and connecting with each other, Eu(III)@UMOFs and the ions have achieved the implementation of Boolean logic network system connecting the elementary logic operations (NOR, INH, and IMP) and integrative logic operation (OR + INH), also obtaining computing keypad-lock security system by sequential logic operation. To deal with uncertain information in the analog region of nonlinear response (fluorescence and concentration), soft computation through the formulation of fuzzy logic operation has been constructed. On the basis of Boolean logic and fuzzy logic, one intelligent molecular searcher can be realized by taking chemical events (Hg 2+ , Ag + , and S 2− ) as programmable words and chemical interactions as syntax. Considering the particularity of all the input ions, the approach is helpful in developing the advanced logic program based on Eu(III) @ UMOFs for application in environmental monitoring.