Marriage is legal between two consenting unmarried adults, regardless of their nationality. It's getting a little iffy if it has to be one male and one female--depends if you live in Mass. or not.
Did you daughter know her fiance was undocumented before the wedding?