In our area of North Carolina we are required to install GFCI protection for pool pumps, regardless whether plug-in or hardwired.

Tim