I use one of these:
I had an extra piece of foam left over. So I cut it to fit in my cooler. Then I wrapped it in plastic wrap. I put it inside the cooler right down on top of the mash. It provides an extra layer of insulation and I can stick the probe through the foam into the mash and the wire stays dry.