TK -- no, tomato plants aren't "male" or "female" -- they have "perfect flowers," and are essentially self-pollinating (although there can be some cross-pollination caused by insects).
I've never had it happen where an apparently healthy tomato plant just didn't product any fruit at all, and I don't have a clue what would be going on there...