It was St. Patrick who used the example of the shamrock to explain the Christian Trinity to King Laoghaire and an assembled crowd at Tara.
St. Patrick never thought to compare the Christian Trinity to the shamrock in his talk with King Laoghaire.