In the figure we have the way to implement an inverter using a relay. The contacts used are NF and C. The truth table will be:

I O

0 1

1 0