The Man Who Was Thursday: A Nightmare is a novel by G. K. Chesterton. The book is sometimes referred to as a metaphysical thriller.
In Edwardian era London, Gabriel Syme is recruited at Scotland Yard to a secret anti-anarchist police corps. Lucian Gregory, an anarchistic poet, lives in the suburb of Saffron Park. Syme meets him at a party and they debate the meaning of poetry. Gregory argues revolt is the basis of poetry. Syme demurs, insisting the essence of poetry is not revolution, but rather law. He antagonizes Gregory by asserting the most poetical of human creations is the timetable for the London Underground. He suggests Gregory isn't really serious about his anarchism. This so irritates Gregory that he takes Syme to an underground anarchist meeting place, revealing his public endorsement of anarchy is a ruse to make him seem harmless, when in fact he is an influential member of the local chapter of the European anarchist council.
The central council consists of seven men, each using the name of a day of the week as a code name, and the position of Thursday is about to be elected by Gregory's local chapter. Gregory expects to win the election, but just before the election Syme reveals to Gregory after an oath of secrecy that he is a secret policeman. Fearful Syme may use his speech in evidence of a prosecution, Gregory's weakened words fail to convince the local chapter he is sufficiently dangerous for the job. Syme makes a rousing anarchist speech and wins the vote. He is sent immediately as the chapter's delegate to the central council.
In his efforts to thwart the council's intentions, however, Syme discovers five of the other six members are also undercover detectives; each was employed just as mysteriously and assigned to defeat the Council. They all soon find out they were fighting each other and not real anarchists; such was the mastermind plan of their president Sunday. In a surreal conclusion, Sunday himself is unmasked as only seeming to be terrible; in fact, he is a force of good like the detectives. However, he is unable to give an answer to the question of why he caused so much trouble and pain for the detectives. Gregory, the only real anarchist, seems to challenge the good council. His accusation is they, as rulers, have never suffered like Gregory and their other subjects, and so their power is illegitimate. However, Syme is able to refute this accusation immediately because of the terrors inflicted by Sunday on the rest of the council.