I believe it depends on who you know. Just IMO. I have seen some get in for free and others required to jump through hoops.
I believe the YMCA policy is to not exclude someone because of their financial condition. Having said that, I'm sure the YMCA staff would be happy to explore with you their membership policies so you have a clear understanding and can make a well-informed choice.
Thanks! Your answer is awaiting moderation.