toInt

Convert a Boolean to an Int.

Return

1 if Boolean is True, 0 otherwise