High side MOSFET issue

You need a p-channel fet and a resistor (ie 10k). The resistor from gate to Vcc. The transistor will be off when the gate is log1 (or highZ), the transistor will be on (low resistance) when log0 at the gate.