The easiest way to explain my question is with an example:
Using a NOR gate, only two logic zeros output a one. So this image makes sense.

But then I reverse the diode and it still outputs a one.

Diodes only let current in one direction, so what I think is happening is that one of these outputs is high impedance an the gate doesn't distinguish it from ground and it considers a zero anything that's not a logic one, even if it's not really a zero.
So my question is: which one is actual ground and which one is high impedance? My guess is the first one is ground.
Perhaps I am totally wrong in my assumptions. Please enlighten me.
I need to use an IC that is enabled with a logic zero but there is a diode in the position of the second image so I need to know if that would be an actual zero.
Using a NOR gate, only two logic zeros output a one. So this image makes sense.

But then I reverse the diode and it still outputs a one.

Diodes only let current in one direction, so what I think is happening is that one of these outputs is high impedance an the gate doesn't distinguish it from ground and it considers a zero anything that's not a logic one, even if it's not really a zero.
So my question is: which one is actual ground and which one is high impedance? My guess is the first one is ground.
Perhaps I am totally wrong in my assumptions. Please enlighten me.
I need to use an IC that is enabled with a logic zero but there is a diode in the position of the second image so I need to know if that would be an actual zero.
