I have a Motorola MC14011CP Quad-dual input NAND IC in which Vdd = 12v. I'm trying to use it as a NOT gate by tying the inputs of one of the gates together. When the inputs are not both true, the output is changing to ~0.5v instead of Vdd +- 0.5v as listed on the datasheet. Could it be something wrong with the chip or have I perhaps made an error in either my component selection or wiring?
Schematic: The Vdd on my IC is tied to +12v and the Vss to 0v. The load is an electromagnet.