In a question it is given that consider $H-X$ chemical bond and find $H-X$ bond distance for which there is zero probability density of finding the proton. It is easy to solve we have just to calculate the position of nodes of wave function of corresponding harmonic oscillator.
But my question is does the wave function of harmonic oscillator gives the probability density of both electrons and protons of bonded atoms which behaves as harmonic oscillator? As while I was reading the chapter, initially I thought that $\psi$ only gives the probability amplitude of electrons if we extend harmonic oscillator concept to bonded atoms.