Be careful with single-phase motors, as most single-phase motors have components to help them start or continue to run ...
An isolated comparator is fundamentally different from a standard comparator, and the comparison happens on the input side.