Here I would like to explain how the search inactive users is enabling in employee people profile.
If you didn’t find the feature you should understand the root cause is permission issue.
You can enable the permission for “include inactive users search” in
Manage Permission ROles – Open relevant permissions – Permissions – Manage User – Enable Include inactive employees in the search.
Save the permission role.
Now you will be able to see inactive employee search button under employee profile