Sleepless knights means that the knights with insomnia were not sleeping. "Sleepless knights" sounds like "sleepless nights" which is a term often used to express not sleeping at night. The joke is playing on the word "knights" because it sounds like "nights".
When those around King Arthur ' s table had insomnia , there were a lot of sleepless knights .