If you are talking about a pool that you put chemicals in, I would definitely keep them out. Mine always drink their swimming water when they are in their pool.
And, yes, they WILL poop in it, just about as soon as they hit the water! My pool is cleaned daily for 3 ducks and sometimes just...