Loneliness and pandemic: two words that soared in usage in 2020 and 2021, when the COVID lockdowns kept people apart from their friends, family and regular activities. That pandemic is not the one playwright Olivia Haller references in the title Loneliness Was a Pandemic. Her occasionally thoughtful but not fully engaging drama (in which the word pandemic is never said) is concerned with another topic that’s been top of mind over the past few years: artificial intelligence.