Sorry about responding to a somewhat old post, but I have #defined TRUE and FALSE to be one and zero respectively. I can then use the booleans instead of wondering if a certain slot can use more than two inputs. Despite what it says
here, I don't think that they are built in (not sure about the newest build, though).