I've already went swimming on the beach. The cops "caught" me. No arrest. They just asked me to leave. I did because they didn't see me until I was out of the water, and was leaving anyways at that point.