Hi,
Welcome to the Forum.
I'm not sure if it's an idiom.No. It's not something that is commonly said.
I'm watching "In cold blood" and there is phrase "I don't know gold dust from diarrhea" and after that they are talking about "prospecting gold".
Does the phrase mean "I cannot tell gold dust from diarrhea" Yes
or something else? Such expressions are often used