Logic gate circuit to close when sensor signal turns ON and then OFF, but must ignore another ON?
Here's the logic.

And here's the timing diagram.

Relay 'A' would set and reset on alternate pulses of the reed switch.