The American Civil Liberties Union said memoranda it received under Freedom of Information requests and lawsuits showed the FBI was associating criminal acts with racial and ethnic groups and then using census data and other information to profile entire communities.