Weird behaviour of logical mosfet in proteus
I think your circuit was intended to be like the following and you have connected the Source-Drain inverted (and a P type instead on N type).







simulate this circuit &ndash; Schematic created using CircuitLab



Proteus simulation, showing both states





Proteus simulation, showing both states using 74HC238 to drive the gate