Output of an TTL family gate for Vin=1.5V?
Generally we design to prevent that happening. e.g. by only connecting the input of one gate to the output of another, or by only using low impedance sources to our gates.

If we must allow less well defined voltages on logic inputs we can use gates with schmitt inputs (like the 74LS13), or take them to Analogue to Digital converters.