A failure to function in an expected or complete manner. Usually refers to a disorder in a bodily organ (e.g. erectile dysfunction), a mental disorder, or the improper behavior of a social group.
verb
To fail to function correctly; to malfunction.
trainwreck
How often have the words dysfunction and trainwreck occurred in a corpus of books? (source: Google Ngram Viewer )