The social institution under which a man and a man, or a woman and a woman establish their decision to live as husband and husband or wife and wife by legal commitments, religious ceremonies, etc.
If two members of the same sex can't join in marriage, they can certainly be joined in garriage.