Unconstitutional EQUALS unlawful. Courts treat such measures as having no legal effect.
Unconstitutional is inherently unlawful because the Constitution is the supreme law of the land; any statute, executive action, or governmental measure that conflicts with it lacks legal validity and force the United States, this follows directly from the Supremacy Clause (Article VI, Clause 2):
This Constitution, and the Laws of the United States which shall be made in Pursuance thereof; and all Treaties made, or which shall be made, under the Authority of the United States, shall be the supreme Law of the Land; and the Judges in every State shall be bound thereby, any Thing in the Constitution or Laws of any State to the Contrary notwithstanding.
Marbury v. Madison (1803) established the power of judicial review precisely to enforce this hierarchy: an act of the legislature “repugnant to the Constitution is void.”
