no it actually takes the difference in phase between the input and the output sinusoids. that's why there is a "phase detector". think about it, if what you said is right, then when the input frequency and the LO frequency are the same, there would be no voltage, so what is driving the VCO...