expression, adverb
knowingly or unknowingly; with or without someone's knowledge
Used when it is unclear whether someone is aware of something, often implying that the action or situation occurs regardless of that awareness. Functions adverbially, modifying a verb or clause.
彼は知ってか知らずか、私の秘密をみんなに話してしまった。
Whether he knew it or not, he ended up telling everyone my secret.
知ってか知らずか、彼女は禁句を口にした。
Knowingly or not, she uttered a taboo word.