One caveat, if the sensor only generates a pulse upon detection, then "negative logic" can be a bit tricky. For instance. Someone walks in front of the detector and then stops. A pyroelectric detector reacts to differences in IR radiation, so it will pulse once or twice, but stop pulsing until that person moves again. if your mechanical action could injure that person, then you have a problem.
Now, an ultrasonic detector will continue to indicate the presence of the person, even if they stop. In THAT case, negative logic might work. BUT, if your mechanical action could injure anyone, I suggest you design in some redundancy. That could be, simply more than one ultrasonic sensor, perhaps from different angles.
Probably the most reliable sensor, for this application, is a beam that would be broken by a persons presence. This method carries the added safety feature of defaulting to the "person present" state should the source of the beam fail (i.e. emitter burns out, or such). If a large area needs to be covered, then multiple beams. Or an array of mirrors that reflect one beam across the area of detection multiple times, thus covering the whole area. The drawback there is alignment complications.
You could also use a scanning beam with a detector that looks for a particular modulation pattern in the light reflected off the person's body assuming what they are wearing will reflect whatever the beam is composed of. The beam could be amplitude modulated or could, even, be somehow frequency modulated (or a combination of several beams at different frequencies -- anything that is enough different from the ambient radiation pattern to make it stand out.
There are also video systems that monitor changes in the image. Such a system can cover a larger area than a single beam.
BTW: "pyro" is Greek for "fire" and used as a prefix means "fire" or "heat", thus pyroelectric means "electronics for detecting heat" -- in this case, body heat or the infrared given off by a warmblooded creature (we're all 'creatures', right? Or, are we 'critters'?!?).