You will be barred from entering for two years. There is a possible waiver for this but it requires hardship to a US citizen and it looks like your spouse is a green card holder.
Speak with an attorney to see if you really have a reentry bar.
If you were on a student F-1 visa, very likely your I-94 card was marked "D/S" rather than with an actual expiration date. Overstaying a "D/S" I-94 doesn't build up unlawful presence (The type of "out-of-status" time that subjects you to reentry bars) unless there is a formal decision by an immigration officer or judge indicating that you are out of status.
So, speak to a lawyer about whether you are barred - as well as on the appropriate type of visa on which to return and timing of your planned marriage (which, depending on the visa used, might conflict with the visa you use to enter if the marriage happens too soon after entry).