It's possible to create basic motionless OR and AND gates using just a pull-up/pull-down resistor and two or more PN diodes. The use of a pull-up/pull-down resistor in any internal logic is highly ill-advised because its almost always better to use a CMOS network to reduce switching time and static power dissipation.
Going back a few more decades it's possible to use magnetic relay switches instead. These are functionally similar to MOSFETS but are extremely slow and actually have moving parts.
I got ya, Pull up/down resistors and diodes is a way to create logic. That's a good observation.
As far as relays, that's a transistor in my book, although not by wiki's first sentence of the transistor page: "A transistor is a semiconductor device used to amplify and switch electronic signals and power". The requirement on being a semi-conductor, IMO, is not true. Wiki even talks about vacuum tubes as transistors, hence breaking the definition. Eh, that's what happens with multiple authors. On a side note, one could also use plasma as a switch. Some people doing research related to my group are trying to do this with a micro plasma.