If you want to go swimming in Animal Crossing, you need a wetsuit. You can get one from the terminal inside Resident Services. Once you're dressed for the occasion, head to the water and press A to jump in.