Strictly speaking, you cannot know which one is bad, but the correct reaction to bad AOA data is not to engage MCAS. The accidents were caused by MCAS activating on the input of a single defective AOA sensor.
Attitude indicators are gyroscopic and themselves redundant. If you can get the plane into level flight and then examine the AOA sensors, they should be close to a known value (see picture) if you do some math. Not saying this is a good idea.