Reading both high and low pin states on single MCU via pin_overrride

I would like to request that the ability for klipper to define a tool that uses the undefined state of a defined pin be added.

I’ve tried implementing pin_override but I don’t think its set up to do this.

Example, in the case of an endstop switch-

estop0 is defined as the pin high, !PA4
etop1 is defined as the pin low, PA4