How do I keep a square wave output voltage high for a TTL application?
If you add peak detectors to the outputs of the comparators, then an unaffected (bipolar) signal will result in both outputs high.

Also, I think your reference voltage (V2) is miswired. It needs a common ground. And in the process of fixing that, you'll need a negative reference as well.