Help using joystick to power LED lights

Pressing down on a joystick is the same as closing a normally open, momentary switch. When you release the stick, it opens the switch again. Take a look at the IDE code found under the menu File > Examples > 02.Digital > Button. Hook up and control your joystick button (sometimes called the Z axis) like the example (then integrate and improve the code!)