It’s definitely not.
Well, lawyers disagree. Check for example this: http://www.independent.co.uk/arts-entertainment/films/news/wonder-woman-film-2017-gal-gadot-women-only-screening-alamo-drafthouse-austin-a7773951.html
Or this video explains it with quotations from the law : https://www.youtube.com/watch?v=YUFOqfQl-1g - jump to 4:18 to get to the direct quote.