Lots of Stupidity...
First, there are a lot of red flags with this lawsuit.
Its a non starter and a fail, however when you consider that CAIR is behind it... you'll understand why. Note:This is the same CAIR that was behind the 'clock boy' incident down in Texas and who's father's lawsuit got tossed by the courts. (Also same CAIR that is associated w Muslim Brotherhood which is labeled a terrorist organization by the US and other countries.)
Second, a lot of anti-US / anti-Trump BS. When you consider that the laws that allow CBP to do this have been in place since 9/11, this has nothing to do with Trump. Google for articles about CBP forcing you to unlock and unencrypt your phone during Obama's tenure. (oops! so this isn't about Trump after all)
Third... all passengers are profiled. Some countries are better at it than others. You want to talk about horror stories against the US, I can share some with the UK where I was told one thing by the UK government yet got hassled by your Passport Control who didn't care that I was in compliance. Now every time I go to the UK, until I get a new passport, I have to spend 15+ minutes explaining why I have certain stamps in my passport.
Travel enough internationally for work and you will start to see that other countries are no better and sometimes worse than the US.
Try going to Israel and then to UAE or Saudi Arabia. You'll have fun explaining that one for a while.
Some of the advice given here is a joke. BTW, if you are going to spend time in a foreign country outside of the EU, buying a second phone makes sense. Its cheaper to get a local number and still be able to get emergency calls on your local phone. Of course YMMV now that you can use wi-fi to make calls.
Its sad that in today's world, most get their news and cannot establish facts from opinion and look at the news objectively.