Marrying someone for the sole purpose of getting a green card is unlawful and may lead to legal action.