Unfortunately, the IRS does not allow a deduction for your personal use swimming pool pumps, even when they are energy efficient.
To see a list of what energy saving improvements do qualify for the Residential Energy Credit, please see this EnergyStar
Webpage.