First, watch out what aftermarket "CAI" you select. Most are actually "Hot Air Intakes". If the CAI uses metal to make a "safe air space". that would actually be a hot box intake. Or if the CAI is just a pipe, with a cone filter in the corner of the engine bay. That is a hot air intake.
The factory air box mounts the filter up, above a cavity. That cavity (bottom of the air box) is where the intake pipe is. Some designs pull from the front, some from the side, some from the bottom.
This type of air box is the safest to use in water. Water may enter the box, but it will drain from weep holes at the bottom. It is important to remember, you ACTUALLY own a truck and NOT a boat. When forging water, it is best to not go deeper then the middle of the tires.
Having an open air filter, like a cone filter, and crossing water is very dangerous. If the filter is resting on a body part, like inner fender, it WILL suck up water like a sponge.
If you plan on forging water regularly, then keep the factory box, or get a real snorkel kit. Most are fake, for looks only. Although they can bring in fresh air. One thing to take into account with intakes is to keep the plumbing as short as possible. The longer the intake pipes, the less HP you will get. Go to McDonald's, put 10 straws together and drink a Coke. Then use one straw, and note the lower resistance.
Finally, if you have full coverage insurance. Insurance will cover the replacement of a hydro locked engine.