On the Mk4 tailgates (I presume Mk3 will be the same) the switch is located inside the tailgate as part of the locking mechanism (you gain access to it by removing the cover to reveal the wiper motor etc...)
Its a push switch activited by the lock its self but the clip that holds the switch is plastic and they can break - which can leave the switch in the "on" position even with the lock closed.