Just like its previous versions, XR is also a waterproof phone introduced by Apple.
iP67 is the rating number that is assigned to iPhone XR. This rating number means that you can easily use this phone under a light rain. Simply it means that you can submerge it under maximum depth of 1 meter for almost half an hour. The same rating number is for iPhone 8 and iPhone X.
IP68 rating is given to iPhone XS and iPhone XS Max and they can be submerged up to 2 meters.