Such biologically-active compounds containing an isostere is called a bioisostere.
The term "bioisostere" refers to compounds that have similar biological activity despite having different chemical structures.