Insurrection Act 1807: What is the rarely-used law Trump wants to deploy?

The Insurrection Act of 1807 allows the president to deploy the military to enforce laws on US soil, including arresting migrants.
More info