Just curious, is there a circuit that can do the following?

input:

**less than 3V**will output logic of

**1 and 0**(2 different wires)

input:

**3V-4V**will output logic of

**0 and 1**(2 different wires)

input:

**4V-5V**will output logic of

**1 and 1**(2 different wires)

input:

**more than 5V**will output logic of

*0 and 0** (2 different wires)

Thank you and have a nice day!