Melanura (synspillum) are very hard to distinguish.
Some say the more pointed the dorsal and anal fin trailers will suggest mail.
Some will say if the eyes are blue, it is male, and some say a steeper profile indicates male, males also grow larger.
Most of these traits don't show up until the fish reaches at least 10"., and non are fool proof (venting is the other possibility if you know what to look for)
If you are looking to get a mated pair, it is best to start with 5 or more individuals (more is better) and let them grow up together, to assure a good male female ratio, and allow them to choose their own partners.
Just putting a male and female together (in 50% of cases) may end in death for the female, unless your tank is an adequate size (200 gallons or more).
FYI
The reason I used melanura, is DNA test are said to link synspillum and melanura as the same species (simply color variants), and the melanura name was scientifically described first (1862) and the name synspillum wasn't used until 1935, so the elder names trumps the later one.