This is a male because he has a black, not buff, neck. The Anhinga used to be called a Water Turkey because of it's long, fan-like tail.
The common gallinule is a rail. It has long legs and toes. It can swim like duck but can also walk on water vegetation. They like to stay close to the vegetation.