Iceland did not consider homosexuality a crime as such, but attempting to avoid marriage because of it was illegal.
Read more via link of my blog:
https://vegvisir.jouwweb.be/blog/1122599_lgbtq

LGBTQ in Viking age