The warranty for Xperia Z1 with respect to water damage says * In compliance with IP55 and IP58, Xperia™ Z1 is protected against the ingress of dust and is waterproof. Provided that all ports and covers are firmly closed, the phone is (i) protected against low pressure jets of water from all practicable directions in compliance with IP 55; and/or (ii) can be kept under 1.50 metre of freshwater for up to 30 minutes in compliance with IP 58.
If fresh water does go into the Xperia Z1 and the phone does not respond, switch off the phone (turning it on can damage the internal circuits). Wipe off water droplets that are on the surface, open the SIM card and memory slot and take the SIM card and memory cards out. Use a vacuum to suck up waters that may have seemed in the cracks. Bury the phone in a bag or vessel of uncooked rice for 24 hours, the latest is a great absorbent and is known to give good results in drying out phones and tablets.