Yeah the XPS should not take on water.
The EPS foam itself won't, but when you look at it its like tiny balls of foam stuck together, I'm concerned that water will get between the balls of foam. Would never be as bad as waterlogged foam, but still not desirable.
I'll know once i put some in...