In this research, first, nanoporous zeolite‐NaY was functionalized with 3‐chloropropyltriethoxysilane (organic linker) and then N‐methylimidazole group. Then magnetic nanoparticles (Fe3O4) under ultrasonic energy conditions on the surface and internal pores of zeolite‐Y (1‐MeIm IL@ZY‐Fe3O4) were formed. The identification, confirmation of the structure and morphology of the prepared magnetic nanohybrid was done by using FTIR, FESEM, TEM, EDX, TGA, XRD, VSM and BET instrumental techniques. Next, its catalytic performance in the synthesis of a number of 3‐benzimidazolyl (or benzothiazolyl)‐1,3‐thiazolidin‐4‐one derivatives was investigated through the three‐component condensation reaction of various aromatic aldehydes, 2‐aminobenzimidazole or 2‐aminobenzothiazole, and thioglycolic acid in EtOH at room temperature. The results of the experiments show that the presence of magnetic nanoparticles (Fe3O4) inside the pores of zeolite functionalized with ionic liquid not only causes easy and quick separation of the nanocatalyst by an external magnetic field but also can be effective in catalyzing the reaction as a Lewis acid.