Phase-frequency detector not used in a PLL
Convert both the voltage and the current to digital signals, using analog comparators. Then run both those digital signals into an exclusive-or gate.

There will be problems with that, such as ambiguity.