(a) Upon return of a verdict agreed upon by five members of the jury finding that the defendant is of unsound mind, and that it is necessary that he be placed under restraint, judgment shall be entered adjudging the defendant to be mentally ill and ordering him to be conveyed to a private or a public hospital for restraint and treatment.
(b) The special issues submitted to the jury, with the answers thereto, shall be incorporated in the judgment.