In this paper, isatin-hydrazone was synthesized using SBA-Pr-N-Is-But-SO3H as nanocatalyst via the two-component reaction of isatin with hydrazine hydrate in an expeditious reaction with high yield of production. The sensing properties were evaluated in EtOH: H2O (1:9) for the different cation (K+, Ca2+, Na+, Cu2+, Zn2+, Cr3+, Mn2+, Co2+, Al3+, Pb2+, Ag+, Cd2+, Ni2+, Hg2+, and Mg2+). The obtained results revealed that these compounds could be applied as chemosensor for the sensitive detection of Hg2+ and Ag+ ions using UV–Vis spectroscopy and fluorescence spectroscopy, respectively. The detection limit was calculated to be 1.17 × 10–6 M for Hg2+ ions and 1.4 × 10–6 M for Ag+ ions. Also, isatin-hydrazone was treated with 4-flurobenzaldehyde to obtain 4-fluorobenzaldehyde-N-(2-oxo-1,2-dihydro-3H-indole-3-indole-3-ylidene)hydrazone which could sensitively select Hg2+ ions among different ions using fluorescence spectroscopy. The detection limit of the colorimetric sensor to detect the Hg2+ ions is 3.6 × 10–6 M. At the end of the reaction, the nanocatalyst was recovered and reused.