You are correct............closed cell foam is water proof and will not absorb water. Closed cell foam also floats – if your cushions go overboard they will not sink and can serve as floatation devices if a crew member goes overboard unexpectedly. Closed cell is hard – not as cushy as you might like to sit on, but very stable for walking on when you go to reef a sail, etc. They are very durable , hold their shape and resistant to mildew, rot, and UV rays. More information here:
Cockpit Cushions: what are my choices for materials? - Sailing Eurybia. Also suggest covering th closed-cell foam with Sunsure, a woven fabric made with PVC-coated yarn.
My cushions have 2" closed cell foam covered with Sunsure and look like the ones in the photo below.
View attachment 200251