You'll find it on the striker plate side of the door jamb, meaning the part of the door frame that the door latches onto. It's usually a small, rectangular or square-shaped switch housed within a plastic or metal enclosure, often tucked in near where the door latch mechanism is located. You'll likely need to remove or partially remove the inner door panel to access and inspect it.