If neither work, I'd think the place to start is the switch... the wiring going to the back of the top must be at least partially good if the defrost works.
Check fuse first as Jeffery had suggested before proceeding to next steps :Take out a volt meter and check power at the wiper to rule out a bad wiper. If no power, check at back of switch to rule out bad switch.
A forum community dedicated to Jeep Wrangler owners and enthusiasts. Come join the discussion about reviews, performance, trail riding, gear, suspension, tires, classifieds, troubleshooting, maintenance, for all JL, JT, JK, TJ, YJ, and CJ models!