I believe that the gerund (being male) indicates the speaker (or, alternatively, it) has been in the state of being male for some time. A female speaker can't say this; she should use the infinitive (to be) to indicate an abstract concept. The gerund usually indicates something real with a duration, while the infinitive indicates something abstract.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.