At least one surveillance program revealed by Snowden has been challenged in US courts and found to be illegal, whether any others revealed were illegal remains a disputed point.
http://www.cnn.com/2015/05/07/politics/nsa-telephone-metadat...