By using a multiphase transport (AMPT) model in the string melting scenario, the influences of nuclear structure on the momentum correlation functions between nucleons in the isobaric collisions of \(^{96}_{44}\) Ru + \(^{96}_{44}\) Ru and \(^{96}_{40}\) Zr + \(^{96}_{40}\) Zr at \(\sqrt{s_\textrm{NN}}\) = 7.7 and 200 GeV were investigated. The results, including the centrality dependence of the correlation functions, were compared across different parameterizations of the Woods–Saxon distribution corresponding to varying deformation configurations in the simulation. A maximum difference of 4 \(\%\) was observed between the isobaric systems for the proton–proton correlation functions when including quadrupole ( \(\beta_{2}\) ) and octupole ( \(\beta_{3}\) ) deformation. In peripheral collisions, the Ru + Ru and Zr + Zr systems exhibited maximum differences of 4 \(\%\) and 5 \(\%\) , respectively, when comparing different parametrization cases. Furthermore, neutron–proton correlation has been studied, showing a sensitivity to nuclear structure comparable to proton–proton correlations. Our results indicate that in peripheral collisions, there may be measurable effects of momentum correlation functions from nuclear deformation and neutron skin in high-precision experimental data, whereas in central collisions, both effects may show negligible influence on momentum correlation functions.