We could, but people can be evil without being guilty of any crimes. And even if they're guilty of any crimes they may not be guilty of this crime. And only powerful magic would leave any residual trace.

It's less useful than people think. But I'll try it anyway.

I try detect evil.