The logical fallacy of irrelevant conclusion: making an argument that, while possibly valid, doesn't prove or support the proposition it claims to. An ignoratio elenchi that is an intentional attempt to mislead or confuse the opposing party is known as a red herring. Elenchi is from the Greek elenchos.
A much more detailed analysis with detection of relationships or clauses can be found in our Sentence Analysis! Try it out!