Two main cases and the interpretation there-of [0]. The most expansive interpretation of the 100 mile zone that includes all coastal areas hasn't really been tested and AFAIK CBP mostly uses it in a more justifiable area around land borders so far relying on other justifications for more inland operations.
[0] ^f Supreme Court: https://forumtogether.org/article/explainer-u-s-border-patro...