This is how I would do it in C:
Code:
boolean myBool = false;
if( switch1 )
myBool = true;
else if( switch2 )
myBool = false;
// If neither switch is pressed, then myBool keeps its old value
Making a VI out of that is left as an exercise to the reader
