Magnetic switches are either N.O. or N.C. for normally open or normally closed. You probably got the wrong switch, and need the other type. If you still have the package it should say what type you installed. Easy fix.
Some switches can be wired either way, your package should say if that's the case.
Baja-tested '08 2-slide 36'
Alpine: The Ultimate DIY'er Project