I'm sure it's fine for a brief submersion in shallow water, provided the glass hasn't been cracked and the SIM/SD tray is properly sealed - don't expect the warranty to be honoured if not.
Although phone marketing sometimes shows people using phones underwater, the manufacturers tend to view it as protection from accidental dousing rather than anything more.