Define marriage. How do you know they weren't? They were married in God's eyes. They were the only two people on the planet so clearly their commitment was to each other which is what marriage is all about right...?
Marriage is designed to create a commitment between two people and discourage them from straying into sexual relationships with others,an option not open to Adam and Eve.