However, once the questioning process has begun it is up to the discretion of the Official as to whether you should be allowed to return. It is a good idea after announcing your intention to not enter to not consent to any further searches. You may need to demand access to these rights, particularly your lawyer. Just like regular court. This means that though you have the right as a woman to be searched by a woman, you may not.
Woman traveling alone are more likely to be turned back then men.
People of color will be searched more often, interrogated more often, and turned back more often. People without money are very unlikely to get across. Transgendered folks and other queers will experience homophobia, and may be turned back. People with disabilities may be turned back on medical excuses it's in the law, and where it isn't there is enough discretion written in that it can easily happen. This will allow you entry, though you will very likely be detained, at least initially.