is_logicalish function

Check if an object is logical or numeric with only 0s and 1s