How to detect when normally closed circuit is opened

If this is for an arduino, I would suggest searching through their forums. This forum is dedicated to Particle devices.