Blah blah blah. The gyms you mentioned are women's only gyms NOT THE YMCA.
An apartment building is not a gym only, it's a residential building WITH A GYM, and as such with the approval of the board or homeowners can create a schedule which caters to certain groups only.
Here you are fraudulently taking away access to the pool from a group of people that have clearly paid for said access without any restrictions.
What the hell Roudy - you are just digging yourself in deeper and deeper here.
YMCA is a PRIVATE - read - PRIVATE entity - like the gym of a residential unit. It has a board, a manager, a membership that reflects the community in much the same way a residential unit's gym reflects the residents. The Y serves the needs of it's membership, the community (through it's outreach efforts) and it's mission statement. It can cater to certain groups if it wants and if it feels it's in the best interest of it's business and mission.
The more you try to make it out to be different than any other private entity the more ridiculous your position becomes.
If this involved public money you'd have a better argument. If you were arguing about gender discrimmination in general - then you might have a stronger position, though then you'd have to look at gender discrimmination across the board.
But you are trying to make it about "Shariah" even though it's a women-only swim hour, open to any women and there is no requirement for "Shariah" style swimwear. The only requirements are what are posted in the general swimming rules for what can be worn etc. You keep insisting otherwise but post nothing to support your claim.
And in the end - it's a PRIVATE group. They can do what they want within the law.