The development of multifunctional and structurally unique metal−organic frameworks (MOFs) presents a highly attractive yet challenging endeavor for chemists. In this study, we employ a dual-ligand strategy to synthesize two isomorphic Co/Zn MOFs, {[Co4(BMIP)3(MIP)4]·3DMF·H2O}n (SNUT-35-Co) and {[Zn4(BMIP)3(MIP)4]·2DMF·2H2O}n (SNUT-35-Zn). The photocatalytic performance of SNUT-35-Co and SNUT-35-Zn was evaluated using methylene blue (MB). Under UV/visible-light irradiation, the photocatalytic decolorization rates of MB for SNUT-35-Co and SNUT-35-Zn reached 95% within 140 min and 120 min, respectively, indicating their superior degradation. Notably, SNUT-35-Zn demonstrated exceptional detection capabilities for aromatic compounds, such as aniline and nitrobenzene, at lower concentration range without interference from other components. The detection limits for these two small molecules were found to be 0.430 and 0.431 μM, respectively. Additionally, both MOFs exhibited larger transient photocurrents and lower impedance in electrochemical measurements. The results suggested that the photocatalytic activities of MOF are influenced by their three-dimensional structures, which facilitate electrons passing due to the inherent semiconductor properties.