Hi,
By right-clicking on the Operator (in your case the UVW XForm Operator) you can choose the Export Parameters and mark the On / Off. Once done you can wire these to the Numeric Operator, which should be set to the Boolean (0/1) Type. I hope that helps.
Best regards,