You're asking different questions here. If I consider the being a person, of course I would consider it a crime.
If the courts had determined that it was a person, they would likely agree since personhood as a legal definition would demand it. There was a time when women and slaves were not considered 'persons', which made it easy to abuse them.
Personhood as a legal definition is changeable. We still have it in modern western culture. Unborn children are not persons. Children are not full persons until they reach the age of maturity. People who are not citizens do not have full person status. Whether the courts agree a crime has been committed is a simple matter of legislation and precedent.
The medical community could certainly inform judgment of this... they might certainly have an opinion, but murder is a legal definition, so in the end its a legal issue.
The rights we have as persons are arbitrary, they depend on what those in power deem fit to give to us. If robots are powerless, they probably wouldn't have many rights.