The border search exemption can't be used for general purpose law enforcement; only for determining if the person should be allowed to enter the country (inapplicable to citizens) and for preventing countraband from entering the country.
A wiped phone cannot contain contraband data, so the border search exemption cannot apply.
A wiped phone cannot contain contraband data, so the border search exemption cannot apply.