Despite occasional confusion, Harry Potter is neither a state nor a country. He is the fictional protagonist of J.K. Rowling's seven-novel fantasy series, beginning with Harry Potter and the Philosopher's Stone (1997).
The books depict a hidden magical world existing alongside the real United Kingdom, but Harry himself is a literary character—not a geographical entity. The series' settings (Hogwarts, Diagon Alley, the Ministry of Magic) are fictional locations within that world.