One was built to keep people in against their will and the other is intended to keep illegals out to assist in maintaining the rule of law. There is no comparison.
How can you tell one from the other?