Boolean has only two states; on, off one, Zero. On the other hand if its in a database it can be null, not set. so use zero one or null for male, female, other. Three states in one Boolean field.