You do not have to be an EU member to be in EASA, it has been correctly pointed out that Iceland, Switzerland and Norway are all EASA members. But it is also true that EASA is an agency of the European Union.
EUROPA - Agencies of the European Union - EASA