In this excerpt, the word "mind" refers to the fact the two characters "Ndulue and Ozoemena" were devoted to each other.
This refers to the implicit meaning of a word, which is different from the universal or dictionary meaning.
In this excerpt, to have the same mind does not mean the character shared their brain. Instead it means the characters are alike and have a great connection. Based on this, this word means the characters were devoted to each other.
Learn more about connotation in: https://brainly.com/question/16701112