There's only one highway that connects Costa Rica and Nicaragua (I walked across it, shown above), but you can totally swim from one country to the other if you aren't afraid of circumventing authority.
Apart from collecting prenatal pottery pieces (there seems to be no restriction against it), locals and tourists can enjoy a refreshing swim in the rolling, blue waves of the Black Sea -- so called for the colour of its deep waters densely populated with algae.