Circuit/System Description
WARNING: This page is about a different car, the 2017 Chevrolet Spark. However, it is still accessible from the selected car via links, so may be relevant.
The body control module (BCM) applies B+ to the hood ajar signal circuit and monitors the voltage to determine the position of the hood. When the hood is closed, the switch is open and voltage remains high. When the hood is open, the switch is closed and the voltage is pulled low.