I mean not only artificial heuristics like machine learning, but the ones people have always used, e.g.: "acting really weird means the person is probably on drugs/commiting a crime".
All prejudices we use are heuristic techniques. Some are badly calibrated and give bad results (e.g. racism) but some may give accurate results (e.g. "poor neighborhoods have a higher crime rate"). Should these techniques be used when they're accurate?