Switzerland has had many referendums,
Including 3 referendums for joining the EU in 1992, 1997 and 2001
" the citizens of Switserland voted against EU membership in 3 different referendums. Switserland is a member of the European Free Trade Association. ... Currently, Switzerland is also a member of the Schengen Area in which people can travel freely without passport checks."