Dear Tumani,
In general, one does not need to have a visa/a valid visa/a valid immigration status in order to get married. I do not know in what State you reside, but typically a couple receives a Marriage Certificate at a city hall. There is no need for a court (especially a probate court dealing with wills and estates).
If you have any further questions, please give me a call at (212) 618-1824.
Good Luck and Enjoy Your Marriage!

