I don't have a 24/7, butI carry a PT111. The MillPros are basically a subcompact 24/7--they have the same trigger and other controls.
My Taurus works fine, although I did have to return it for repair after about 500 rounds (broken striker spring). The trigger is very rubbery, but apparently that's the price for the "second strike" capability. I've gotten used to the trigger and the Heinie sights over time.
To me, the advantages of a 24/7 over the XD or XDm are: lower price, second-strike capability, manual safety, and possibly ergos. The advantages of the XD/XDm are better loaded-chamber indicator, a striker indicator, and (IMHO) higher quality overall. Also, their popularity gives you more choices for holsters, night sights, etc.
Given the choice between a 24/7 and an XD40, I'd choose an M&P 40.